This repository was archived by the owner on Jun 8, 2026. It is now read-only.
コードブロック後の修飾の抽出を厳密化#9
Merged
Merged
Conversation
Ref. [1] で発見された問題。コードブロック後に改行を挟まずに文章を続け るとその文章がコード修飾指定のセクションとして抽出されて消失する問題。 対処法として改行を挿入する [2, 3] ことで回避できるが、改行がなくても正 しく表示されるようにしたい。ここでは、コード修飾の指定についてより厳密 な形式で抽出を行い、誤って関係ない物を抽出することを防ぐ [4]。 この変更のテストの過程で、既存のコード修飾の誤りが発見されたが対処した [5]。また、他にも消失している記述 [6] が発見されたが、[6] はこの変更に より自動的に修正されるので対処はしていない。 References: [1] cpprefjp/site#1362 (comment) [2] cpprefjp/site@c747f4a [3] cpprefjp/site@5259ff6 [4] cpprefjp#8 (comment) [5] cpprefjp/site@ebf8c8f [6] https://github.com/cpprefjp/site/blob/ebf8c8fd705a194adb7b3f83786dad9c843d143b/reference/generator/generator/iterator/op_increment.md?plain=1#L27
Member
Author
Member
|
ありがとうございます!マージしてしまっていいでしょうか? |
Member
Author
|
OKです! よろしくおねがいします |
Member
Author
|
ありがとうございます! |
Member
Member
|
あ、 |
Member
|
cpprefjp/siteの表示崩れチェッカーに検出を追加しておきます |
Member
Author
|
本当ですね…すみません。 |
Member
Author
|
追記: 手元で見たら動作確認のための再変換だけ実行開始して放置した状態だったので、すぐ変化を確認できました。取り敢えずこれで全てのはずです。 |
akinomyoga
referenced
this pull request
in cpprefjp/site
Dec 11, 2024
Member
|
@akinomyoga 対応ありがとうございます! これはCIでのエラーチェックはしなくていい気がしてきました。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

説明は commit message に書いていますのでそちらをご参照下さい。
また、この修正の後は #8 における
qualified_fenced_code.pyとfix_display_error.pyの優先度 28 & 29 (つまり適用順序) を逆転したらfix_display_error.pyを単純化できるのではないかと思っています (ちゃんと確かめていないですが…)。